<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户交流</title>
<base href="<%=basePath %>" />
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="css/icon.css">
    <link rel="stylesheet" type="text/css" href="jquery-easyui-1.4.1/themes/color.css">
	<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
	<script type="text/javascript" src="layer/layer.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="js/admin/adcomment.js"></script>
</head>
<body>
<div style="height: 70px; width: 100%;">
	<div style="float: left; padding:20px 0 0 20px; ">   
        <label for="name">用户名:</label>   
        <input class="easyui-textbox" type="text" name="scommentUserName" id="scommentUserName"  />   
    </div> 
    <div style="float: left; padding:20px 0 0 20px; ">   
        <label for="name">问题:</label>   
        <input class="easyui-textbox" type="text" name="scommentQuestion" id="scommentQuestion"  />   
    </div> 
     <div style="float: left; padding:20px 0 0 20px; ">    
    	<button  id="searchAdcomment" class="easyui-linkbutton c1" data-options="iconCls:'icon-search'" type="button" onclick="searchAdcomment();">查询 </button>
    </div> 
   <div style="float: left; padding:20px 0 0 20px; ">    
    	<button  id="resetAdcomment" class="easyui-linkbutton c5" data-options="iconCls:'icon-no'" type="button" onclick="resetAdcomment();">重置 </button>
    </div> 
</div>
<div id="toolbar">
		<c:forEach items="${list}" var="item">
			${item}
		</c:forEach>
</div>

<!-- 加载数据 -->
    <div id="adcomment_table"></div>
    
    <div id="adcommentdlg" class="easyui-dialog" data-options="iconCls:'icon-save',resizable:true,modal:true" style="width: 400px;height: 300px; padding: 10px 20px" closed="true"
           buttons="#adcomment-dlg-buttons" >
        <div align="center">
        	<form id="adcommentfm" class="easyui-form" data-options="novalidate:true">
        		<table align="center">
        			<tr>
        				<td><label>回复内容:</label> </td>
        				<td><input type="text" class="easyui-textbox" id="commentAnswer" name="commentAnswer" 
        				data-options="multiline:true" style="width:200px;height:150px" required="true"></td>
        			</tr>
        			<tr>
        				<td>是否显示:</td>
        				<td><select id="commentIsShow" class="easyui-combobox" required="true"
						name="commentIsShow" style="width: 155px;"
						data-options="editable:false,panelHeight:'auto'">
						<option value="" selected="selected">请选择</option>
						<option value="1" >是</option>
						<option value="0" >否</option>
				</select></td>
        			</tr>
        		</table>
        	</form>
        </div>
         <div id="adcomment-dlg-buttons">
		    <label id="saveUrl" closed="true"></label>
		        <a href="javascript:void(0)" id="save" class="easyui-linkbutton c6" iconCls="icon-ok" onclick="adcommentSave();" style="width:90px">保存</a>
		        <a href="javascript:void(0)" id="cancel" class="easyui-linkbutton" iconCls="icon-cancel" onclick="adcommentCancel();" style="width:90px">取消</a>
		 </div>
        </div>
    
</body>
<script type="text/javascript">

</script>
</html>